﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
using MySite.Model;

namespace MySite.Helper
{
    public class AjaxRequestHandler : IHttpHandler, IRequiresSessionState
    {
        public bool IsReusable
        {
            get { return true; }
        }

        public void ProcessRequest(HttpContext context)
        {
           switch(context.Request.QueryString["action"])
           {
               case "getpagecontenttitle":
                   
                   break;
               case "getppcatalog":
                   
                   break;
               default:
                   context.Response.Clear();
                   context.Response.Flush();
                   context.Response.End();
                   break;
           }
        }
    }
}